package com.slmxz.tms.system.converter;

import com.slmxz.tms.system.model.entity.Config;
import com.slmxz.tms.system.model.form.ConfigForm;
import org.mapstruct.Mapper;

/**
 * 系统配置对象转换器
 * @author sunyao
 * @Date 2024-11-07
 */
@Mapper(componentModel = "spring")
public interface ConfigConverter {

    Config toEntity(ConfigForm configForm);

    ConfigForm toForm(Config entity);
}
